/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package  co.edu.udistrital.conce.presentacion.scope;

/**
 *
 * @author timotheos
 */
public class PopupBean {

    private boolean visible;
    private boolean accepted;
    private String header;

    /** Creates a new instance of PopupBean */
    public PopupBean() {
        this.visible = false;
    }

    public boolean isVisible() {
        return visible;
    }

    public void setVisible(boolean visible) {
        this.visible = visible;
    }

    public boolean isAccepted() {
        return accepted;
    }

    public void setAccepted(boolean accepted) {
        this.accepted = accepted;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public void closePopup() {
        visible = false;
    }

    public void openPopup() {
        visible = true;
    }

    public String open_action() {
        openPopup();
        return null;
    }

    public String close_action() {
        closePopup();
        return null;
    }
}
